package cbs.demo.service;

import cbs.demo.domain.Patient;

/**
 * 原始类
 */
public class FooService {
    private Patient patient;

    public FooService(Patient patient) {
        this.patient = patient;
    }

    public FooService() {
    }

    public String foo(String foo) {
        return "foo:" + (patient == null ? foo : patient.getName());
    }

    public String foo8(String foo) {
        return "foo8:" + (patient == null ? foo : patient.getName());
    }

    public String foo11(String foo) {
        return "foo11:" + (patient == null ? foo : patient.getName());
    }
}
